package cn.iocoder.yudao.module.erp.controller.admin.purchase.vo.order;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "管理后台 - ERP 采购订单新增/修改 Request VO")
@Data
@Accessors(chain = false)
public class ErpPurchaseOrderExportVO {


        @Schema(description = "产品名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "3113")
        @NotNull(message = "产品名称不能为空")
        @ExcelProperty("产品名称")
        private String productName;

        @Schema(description = "产品单位", requiredMode = Schema.RequiredMode.REQUIRED, example = "3113")
        @NotNull(message = "产品单位不能为空")
        @ExcelProperty("产品单位")
        private String productUnitName;

        @Schema(description = "产品数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "100.00")
        @NotNull(message = "产品数量不能为空")
        @ExcelProperty("产品数量")
        private Integer count;

}
